package com.trade.dao.impl;
import java.util.*;

import com.trade.model.Role;
import com.trade.common.dao.impl.GenericDao;
import com.trade.dao.IRoleDao;

public class RoleDao extends GenericDao<Role,Long> implements IRoleDao {
	
	@Override
	public List<Role> getAllRoles()
	{
		String sql = "from Role";
		return this.find(sql);
	}
}
